<table class="data-table" cellspacing="0">
	<thead>
		<tr>
			<th class="data-head row-userAccountName">账号名<span class="sort-tag"></span></th>
			<th class="data-head row-userInfo.userName">姓名<span class="sort-tag"></span></th>
			<th class="data-head row-createTime">创建时间<span class="sort-tag"></span></th>
			<th class="data-head row-userAccountIsEnabled">状态<span class="sort-tag"></span></th>
			<th class="data-head row-userAccountNote">描述<span class="sort-tag"></span></th>
			<th class="data-head ">操作</th>
		</tr>
	</thead>
	<tbody>
		{#if $T.page.result && $T.page.result.length > 0}
		{#for index = 0 to $T._pageSize}
			<tr class="{$T.index == $T._pageSize ? 'last' : ''} {$T.index % 2 == 0 ? 'odd' : 'even'}">	
				<td>
					{#if $T.page.result[$T.index]}
					<a href="javascript: oacore.Util.openUrl('/web/findUserAccountDetailAction.action?userAccountDTO.userAccountId={$T.page.result[$T.index].userAccountId}');">{$T.page.result[$T.index].userAccountName}</a>
					{#else}
					&nbsp;
					{#/if}
				</td>
				<td>
					{$.util.getValue($T.page.result[$T.index], 'userInfoDTO.userName')}
				</td>
				<td>
					{$T.page.result[$T.index] ? $T.page.result[$T.index].createTime : "&nbsp;"}
				</td>
				<td>
					{#if $T.page.result[$T.index]}
					{#if $T.page.result[$T.index].userAccountIsEnabled}
					已启用
					{#else}
					已禁用
					{#/if}
					{#else}
					&nbsp;
					{#/if}
				</td>
				<td>
					{$.util.getValue($T.page.result[$T.index], 'userAccountNote')}
				</td>
				<td>
					{#if $T.page.result[$T.index]}
					<a href="javascript: oacore.Util.goUrl('/web/toEditPageAction.action?userAccountId={$T.page.result[$T.index].userAccountId}');">编辑</a>
					<form style="display: none;" id="{$T.page.result[$T.index].userAccountId}_deleteAccount_form" method="post" action="{$T.path}/ajax/deleteUserAccountAction.action">
						<input type="hidden" name="userAccountDTO.userAccountId" value="{$T.page.result[$T.index].userAccountId}"/>
						<input type="hidden" name="userAccountDTO.version" value="{$T.page.result[$T.index].version}"/>
						<input type="hidden" name="userAccountDTO.userAccountName" value="{$T.page.result[$T.index].userAccountName}"/>
						<input type="hidden" name="userAccountDTO.createTime" value="{$T.page.result[$T.index].createTime.replace('T', ' ')}"/>
						<input type="hidden" name="userAccountDTO.userAccountIsEnabled" value="{$T.page.result[$T.index].userAccountIsEnabled}"/>
						<input type="hidden" name="userAccountDTO.userAccountNote" value="{$T.page.result[$T.index].userAccountNote}"/>
						<input type="hidden" name="userAccountDTO.userInfoDTO.userName" value="{$T.page.result[$T.index].userInfoDTO != null ? $T.page.result[$T.index].userInfoDTO.userName : ''}"/>
					</form>
					<a class="delete-account-a" href="javascript:void(0);" id="{$T.page.result[$T.index].userAccountId}_Delete">删除</a>
					{#else}
					&nbsp;
					{#/if}
				</td>
			</tr>
		{#/for}
		{#else}
		{#for index = 0 to $T._pageSize}
			{#if $T.index == $T._pageSize && $T.index % 2 == 0}
			<tr class="last odd">
			{#elseif $T.index == $T._pageSize && $T.index % 2 != 0}
			<tr class="last even">
			{#elseif $T.index % 2 == 0}
			<tr class="odd">
			{#else}
			<tr class="even">
			{#/if}
				{#if parseInt($T._pageSize / 2) == $T.index}
				<td colspan="6" class="data-table-no-data-td">
					没有您想要查看的数据
				</td>
				{#else}
				<td colspan="6" class="data-table-no-data-td">
					&nbsp;
				</td>
				{#/if}
			</tr>
		{#/for}
		{#/if}
	</tbody>
</table>
<div class="pagebar_area">
	
</div>